﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace PictureBoard4.Shape
{
    /// <summary>
    /// 父类
    /// </summary>
   public abstract class Shape
    {
       public List<Point> list { get;set;}
       public Shape() 
       {
           list = new List<Point>();
       }
       //添加的方法
       public abstract void Add(Point point);
       public abstract bool GetBound(ref Point StartPoint, ref Point EndPoint);//边框
       public abstract bool Draw(Graphics g);//绘制图形
       public abstract void Move(Point Point);
       public bool Isdraw;


    }
}
